package com.clickpaas.workinghours.service;

import com.bizcloud.ipaas.tbba4bf83484b4ed2aacba581fbfeac4d.d20210220155135.model.LeadDTO;
import com.bizcloud.ipaas.tbba4bf83484b4ed2aacba581fbfeac4d.d20210220155135.model.LeadSaveOrUpdateDataResponseObject;
import com.clickpaas.workinghours.entity.LeadEntity;

import java.util.List;

public interface LeadService {

    /**
     * 获取数据
     * @return
     */
    public List<LeadDTO> getDataInfo(LeadEntity entity);

    /**
     * 数据转换为bean
     * @return
     */
    public List<LeadEntity> DataConver(List<LeadDTO> list);

    /**
     * 线索数据删除
     * @return
     */
    public boolean deleteDataInfo(LeadEntity delete);

    /**
     * 线索数据更新
     * @return
     */
    public LeadSaveOrUpdateDataResponseObject updateDataInfo(LeadEntity query, LeadEntity update);


}
